-
Home
-
WooCommerce Attribute Stock – Shared Stock & Variable Quantities (Lite Version)
-
2.0.1
-
Code
-
Classes
- Components
Total Complexity |
114 |
Dependencies |
5 |
Dependents |
10 |
Total lines |
652 |
Lines of code |
411 |
Logical lines of code |
266 |
Comment lines |
111 |
Methods |
12 |
Properties |
0 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
save_components() |
C |
35 |
28 |
81 |
calc_deductions() |
C |
34 |
26 |
93 |
calc_limit_quantity() |
A |
44 |
12 |
45 |
sort_tree() |
A |
45 |
10 |
41 |
get_components() |
A |
46 |
10 |
36 |
get_unsorted_tree() |
S |
51 |
7 |
25 |
get_relationships() |
S |
48 |
6 |
29 |
get_sorted_tree() |
S |
66 |
5 |
8 |
get_component_stock_item() |
S |
55 |
3 |
20 |
has_components() |
S |
56 |
3 |
18 |
using_components() |
S |
61 |
3 |
12 |
is_sorted_tree() |
S |
78 |
1 |
3 |